<template>
	<div>
		<!-- 		<input v-bind:value="value" v-on:input="$emit('input', $event.target.value)"> -->
		<input @click="showHandle" :value="searchText">
		<slot/>
	</div>
</template>

<script>
	export default {
		name: 'CustomInput',
		props: {
			searchText: String
		},
		methods: {
			showHandle() {
				this.$emit("update:searchText", this.searchText + 1);
			}
		}
	}
</script>

<style>
</style>
